Search results
65 packages found
Check if a file path is a binary file
Check if your package was installed globally
Detect the file type of a Buffer/Uint8Array/ArrayBuffer
Determine if a filename and/or buffer is text or binary. Smarter detection than the other solutions.
detect file extensions, check if text or binary file, or get list of text or binary file extensions
- binary
- extensions
- extension
- file
- path
- check
- detect
- is
- browser
- deno
- deno-edition
- deno-entry
- denoland
- es2022
- View more
Test if a value is a binary string.
- stdlib
- stdassert
- assertion
- assert
- utilities
- utility
- utils
- util
- is
- binary
- string
- isstring
- isbinary
- binarystring
- View more
Detect the audio type of a Buffer/Uint8Array
Test if a value is a binary string.
- stdlib
- stdassert
- assertion
- assert
- utilities
- utility
- utils
- util
- is
- binary
- string
- isstring
- isbinary
- binarystring
- View more
An *Ackchyually* browser compatible file-type hacky replacement of the `file-type` package. Forked from https://github.com/sindresorhus/file-type
Detect the image type of a Buffer/Uint8Array
Returns true if a buffer is binary. Takes a buffer and does not read from the file system.
Check if a Buffer/Uint8Array is a PNG image
Check if a Buffer/Uint8Array is a JPEG image
Check if a Buffer/Uint8Array is a APNG (Animated PNG) image
Check if a Buffer/Uint8Array is a GIF image
Detect the file type of a Buffer/Uint8Array/ArrayBuffer
Validates if a value is a binary string.
Determine if a filename and/or buffer is text or binary. Smarter detection than the other solutions.
- bin
- binary
- browser
- check
- detect
- encoding
- es2019
- ext
- extension
- extensions
- file
- is
- is binary
- is binary file
- View more
Detect the file type of a Buffer/Uint8Array/ArrayBuffer. Fork of https://github.com/sindresorhus/file-type allowing custom detectors. May be removed once this feature is merged into the original repo.
Check if a Buffer/Uint8Array is WOFF